package cn.ht.jywrwater.module.ht.convert.waterdevices;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterdevices.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterdevices.WaterDevicesDO;

/**
 * 设备 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterDevicesConvert {

    WaterDevicesConvert INSTANCE = Mappers.getMapper(WaterDevicesConvert.class);

    WaterDevicesDO convert(WaterDevicesCreateReqVO bean);

    WaterDevicesDO convert(WaterDevicesUpdateReqVO bean);

    WaterDevicesRespVO convert(WaterDevicesDO bean);

    List<WaterDevicesRespVO> convertList(List<WaterDevicesDO> list);

    PageResult<WaterDevicesRespVO> convertPage(PageResult<WaterDevicesDO> page);

    List<WaterDevicesExcelVO> convertList02(List<WaterDevicesDO> list);

}
